package com.dwxt.cms.dao;

import com.dwxt.cms.entity.HomeNavigationBar;
import com.dwxt.cms.entity.HomeNavigationBarExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HomeNavigationBarMapper {
    long countByExample(HomeNavigationBarExample example);

    int deleteByExample(HomeNavigationBarExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HomeNavigationBar record);

    int insertSelective(HomeNavigationBar record);

    List<HomeNavigationBar> selectByExample(HomeNavigationBarExample example);

    HomeNavigationBar selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HomeNavigationBar record, @Param("example") HomeNavigationBarExample example);

    int updateByExample(@Param("record") HomeNavigationBar record, @Param("example") HomeNavigationBarExample example);

    int updateByPrimaryKeySelective(HomeNavigationBar record);

    int updateByPrimaryKey(HomeNavigationBar record);
}